package Other;

import java.util.List;

/**
 * @author:gao
 * @date:2020/7/4
 * @time:13:46
 * @version:0.0.1
 * @description:none
 */

//206. 反转链表
public class ReverseList {
}

//Definition for singly-linked list.
//class ListNode {
//      int val;
//      ListNode next;
//      ListNode(int x) { val = x; }
//}
//class Solution {
//    public ListNode reverseList(ListNode head) {
//        ListNode phead = new ListNode(0);
//        phead.next=null;
//        while (head!=null){
//            ListNode tmp = head.next;
//            head.next=phead.next;
//            phead.next=head;
//            head=tmp;
//        }
//        return phead.next;
//    }
//}
